home *** CD-ROM | disk | FTP | other *** search
- #include <jaz.h>
- /*
- ┌────────────────────────────────────────────────────────────────────────────┐
- │jzkeysts.c │
- │Return the union KEYSTATE as defined in jaz.h │
- │This defines the various shift states of the machine. │
- │Warning, this routine is very highly IBM specific. Contact me for porting │
- │to other machines. │
- │-Jaz │
- │ │
- │ (C) JazSoft Software by Jack A. Zucker (301) 794-5950 │
- └────────────────────────────────────────────────────────────────────────────┘
- */
- jzkeysts(fkey)
- KEYSTATE *fkey;
- {
- unsigned int wkey;
- wkey = MEMW(0x40,0x17);
- memcpy(fkey,&wkey,2);
- }